<!--
 * @Author: your name
 * @Date: 2020-02-25 13:32:39
 * @LastEditTime: 2020-02-28 11:25:55
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \福路德扫码系统\html\cksm.html
 -->
<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport"
        content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0,viewport-fit=cover" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../css/vant.css">
    <link rel="stylesheet" type="text/css" href="../css/base.css" />
    <link rel="stylesheet" type="text/css" href="../css/local.css" />
    <script type="text/javascript" src="../script/jquery.js"></script>
    <script type="text/javascript" src="../script/layer/mobile/layer.js"></script>
    <script type="text/javascript" src="../script/vue.min.js"></script>
    <script type="text/javascript" src="../script/vant.min.js"></script>
    <script type="text/javascript" src="../script/fastclick.js"></script>
    <script type="text/javascript" src="../script/base.js"></script>
    <style type="text/css">
        .db{
            padding: 10px 15px;
            background: #fff;
		}
		.db-row{
			border-bottom: 1px solid #ebedf0;
			line-height: 24px;
			padding-top: 10px;
		}
		.db-tag-1{
			display: inline-block;
			width: 24px;
			height: 24px;
			border-radius: 15px;
			font-size: 12px;
			text-align: center;
			line-height: 24px;
			background-color: #1b85e9;
			color: #fff;
		}
		.db-tag-2{
			display: inline-block;
			width: 24px;
			height: 24px;
			border-radius: 15px;
			font-size: 12px;
			text-align: center;
			line-height: 24px;
			background-color: #ff9f1b;
			color: #fff;
		}
		.db-detail{
			padding-left: 10px;
		}
		.db-time{
			padding: 5px 0 10px 0;
			font-size: 12px;
			color: #969799;
        }
        .db-time *{
            vertical-align: middle;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="box">
            <van-nav-bar-main title="待办事项" left-arrow @click-left="onClickLeft"></van-nav-bar-main>
            
            <div class="content">
               
                <div class="db">
                    <div class="db-row" @click="openPage('dealDetail')">
                        <div class="flex-box">
                            <div class="db-tag-1">领</div>
                            <div class="db-detail flex-main">
                                <div>领用54式手枪一把,对应子弹30发,防弹衣一套,防爆头盔一套。</div>
                                <div class="db-time"><span>发布日期：2020-01-01</span></div>
                            </div>
                        </div>
                    </div>
                    <div class="db-row" @click="openPage('dealDetail')">
                        <div class="flex-box">
                            <div class="db-tag-2">归</div>
                            <div class="db-detail flex-main">
                                <div>归还54式手枪一把,对应子弹30发,防弹衣一套,防爆头盔一套。</div>
                                <div class="db-time"><span>发布日期：2020-01-01</span></div>
                            </div>
                        </div>
                    </div>
                    <div class="db-row" @click="openPage('dealDetail')">
                        <div class="flex-box">
                            <div class="db-tag-2">归</div>
                            <div class="db-detail flex-main">
                                <div>归还54式手枪一把,对应子弹30发,防弹衣一套,防爆头盔一套。</div>
                                <div class="db-time"><span>发布日期：2020-01-01</span>&nbsp;&nbsp;<van-tag type="danger">已过期</van-tag></div>
                            </div>
                        </div>
                    </div>
                    
                </div>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript">
    var vm;
    apiready =  function () {




        vm = new Vue({
            el: '#app',
            data: {
                showLoading: false,
                userInfoData: ''
            },
            created: function () {
                var that = this;
            },
            methods: {
                openPage(url){
					var that = this;
					api.openWin({
						name: url,
						url: url + '.html',
						reload: true,
						slidBackEnabled: false,
						allowEdit: false
					})
				},
                onClickLeft: function () {
                    api.closeWin();
                }
            }
        })
    };
</script>

</html>